import { LocalStorageVar } from '@/utils/localStorage'

interface IAppStaticData {
  username: string
}
export const AppStaticData: IAppStaticData = {
  username: '',
}
export function initAppStaticData() {
  const usernameLocal = new LocalStorageVar('', `UserInfo:username`)
  usernameLocal.init()
  AppStaticData.username = usernameLocal.data
}
